package com.ruoyix.weblog.domain.bo;

import com.ruoyix.common.core.validate.AddGroup;
import com.ruoyix.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;

import com.ruoyix.common.core.domain.BaseEntity;

/**
 * 网站信息业务对象 blog_web_info
 *
 * @author ruoyi
 * @date 2024-05-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BlogWebInfoBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 网站名称
     */
    @NotBlank(message = "网站名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String webName;

    /**
     * 网站信息
     */
    @NotBlank(message = "网站信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String webTitle;

    /**
     * 公告
     */
    @NotBlank(message = "公告不能为空", groups = { AddGroup.class, EditGroup.class })
    private String notices;

    /**
     * 页脚
     */
    @NotBlank(message = "页脚不能为空", groups = { AddGroup.class, EditGroup.class })
    private String footer;

    /**
     * 背景
     */
    @NotBlank(message = "背景不能为空", groups = { AddGroup.class, EditGroup.class })
    private String backgroundImage;

    /**
     * 头像
     */
    @NotBlank(message = "头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String avatar;

    /**
     * 随机头像
     */
    @NotBlank(message = "随机头像不能为空", groups = { AddGroup.class, EditGroup.class })
    private String randomAvatar;

    /**
     * 随机名称
     */
    @NotBlank(message = "随机名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String randomName;

    /**
     * 随机封面
     */
    @NotBlank(message = "随机封面不能为空", groups = { AddGroup.class, EditGroup.class })
    private String randomCover;

    /**
     * 看板娘消息
     */
    @NotBlank(message = "看板娘消息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String waifuJson;

    /**
     * 是否启用[0:否，1:是]
     */
    @NotNull(message = "是否启用[0:否，1:是]不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;



}
